package com.dlc.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dlc.shop.bean.dto.AllotOrderItemDTO;
import com.dlc.shop.bean.model.AllotOrderItem;

import java.util.List;

/**
 * @author gaozijie
 * @since 2023-11-20
 */
public interface AllotOrderItemService extends IService<AllotOrderItem> {

    /**
     * 批量新增调拨订单商品
     * @param allotOrderItemDTOList 调拨订单商品dto集合
     */
    void addBatchAllotOrderItem(List<AllotOrderItemDTO> allotOrderItemDTOList);

    /**
     * 批量更新调拨订单商品
     * @param allotOrderItemDTOList 调拨订单商品dto集合
     */
    void updateBatchAllotOrderItem(List<AllotOrderItemDTO> allotOrderItemDTOList);
}
